package com.appkubes.mall.restful.application.user.user.service;

import com.appkubes.common.exception.BusinessException;
import com.appkubes.mall.core.entity.MallAdmin;
import com.appkubes.mall.core.entity.MallUser;
import com.appkubes.mall.core.service.BaseMallUserService;
import com.appkubes.mall.restful.application.user.account.account.entity.dto.OrderPayUserAccountDTO;
import com.appkubes.mall.restful.application.user.user.entity.vo.UserActiveVO;
import com.appkubes.mall.restful.application.user.user.entity.vo.UserRegisterVO;

/**
 * @Author: Rongjie
 * @Date: 2020/2/27
 * @Description:
 */
public interface UserService extends BaseMallUserService {

    Boolean isActive(UserActiveVO userActiveVO);

    /**
     * 用户注册
     *
     * @param registerVO
     * @return
     * @throws BusinessException
     */
    MallUser register(UserRegisterVO registerVO) throws BusinessException;


    //订单支付服务
    Boolean onOrderPay(String userKey, OrderPayUserAccountDTO orderPayUserAccountDTO);

    /**
     * 添加客户列表
     * @param user
     * @param registerVO
     */
    void addFintechUserInfo(MallUser user, UserRegisterVO registerVO);

    /**
     * 保存个人信息、商铺信息
     * @param mallAdmin
     * @return
     *//*
    public Integer modify(MallAdmin mallAdmin);*/


}
